home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 7 / developer source - volume 7.iso / delph / aug96 / ostrf109.gif < prev    next >
Graphics Interchange Format  |  1997-01-15  |  33KB  |  321x449  |  4-bit (16 colors)
Labels: text | screenshot | number | document | font | parallel
OCR: CloseApplication Tells ReportSmith to perform a File | Exit. Use this method when your TReport's AutoUnload property is False. Make sure you call CloseApplication before exiting your Delphi 1 applications. In Delphi 1, ReportSmith will not exit even when your application shuts down. This behavior has changed with 32-bit applica- tions. ReportSmith will automatically shut down when you exit a Delphi 2 application, even if AutoUnload is False. Connect Allows you to connect to a database and bypass the ReportSmith database login. The Connect method is not needed for reports that use the Delphi Connection. Print Forces a hard copy output of the report, regardless of the value of the Preview property. RecoicReport Tells ReportSmith to refresh the report. Use this method whenever you change the value of a report variable or navigate to a new record set in a Delphi Connection report, Run Runs the designated report, looking at the value of the Preview property to determine if a preview or a hard copy should be made. RunMacro Lets you run a ReportBasic macro. SelVariable Lets you set or change the value of a report variable. If you specify a report variable nome that is not used in the current report, the vori- able will simply be ignored. SetVariableLines Similar to SetVariable, this method lets you set or change the value of a report variable by using an array of type TStrings. Figure 9: Key TReport component methods.